package com.qf.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_order_1")
public class Order {

    @TableId(type = IdType.INPUT)
    private String id;

    private Integer uid;

    private String phone;

    private String username;

    private String  address;

    private BigDecimal totalPrice;

    // 1:未支付 ,2:已支付,3:已取消,4:已超时,5:已完成
    private Integer status;

    private Date createTime;
}
